package com.ynny.one_dimensional_array01;

public class ArrayDemo03 {
    public static void main(String[] args) {

        //把班级当作一个数组，将全体同学装进去 ？
        //数据类型[] 变量名 = new 数据类型[长度];
        Student[] soft232 = new Student[45];

        Student student01 = new Student("陈琼",
                18,
                "202303230201");

        Student student02 = new Student("陈瑞鑫",
                18,
                "202303230202");

        soft232[0] = student01;
        soft232[1] = student02;


        //取一个学生出来
//        String name = soft232[1].getName();//陈瑞鑫

    }
}
